import React, { Component } from 'react'
import axios from "axios"
export default class login extends Component {
  componentDidMount(){
    axios.get('api/productdetail/bought',{
      params:{pid:1}
    }).then(res=>{
      console.log(res)
    })
  }
  render() {
    return (
      <div>
        
      </div>
    )
  }
}
